home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 8844 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  994 b 

  1. Path: uu4news.netcom.com!computex!yong.liu
  2. From: yong.liu@computex.com (YONG LIU)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: C++ vs. C
  5. Message-ID: <8BB840D.000A006231.uuout@computex.com>
  6. Date: Mon, 26 Feb 96 17:17:00 -0500
  7. Distribution: world
  8. Organization: International CompuTex, Inc., Atlanta, GA (770)953-1464
  9. Reply-To: yong.liu@computex.com (YONG LIU)
  10. References: <4g5nk4$pra@noah.xicom.com>
  11. X-Newsreader: PCBoard Version 15.22
  12. X-Mailer: PCBoard/UUOUT Version 1.20
  13.  
  14.  
  15. <snip>
  16. -> Why are C++ executable programs atleast 10 times bigger than C
  17. -> programs.   Case and point.  I've been learning to write C and C++
  18. -> and the first  promgram anyone teaches you to write is the "Hello
  19. -> World".
  20. -> 
  21. -> The C source and C++ source file are about the same number of lines
  22. -> of  code and about the same file size.  But after compliling the
  23. -> source,  C++  programs are HUGE, 200K vs. 12K with C.
  24. -> 
  25. -> What's up with this?
  26. -> 
  27.  
  28. It's like shooting a bird with a cannon, what do you expect? :=)
  29.  
  30. Yong
  31.